TARGETS = freopenTest test
all:$(TARGETS)
freopenTest:freopenTest.cc
	g++ -o $@ $^ -std=c++11

test:test.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm $(TARGETS) -fv